//
//  AddTeacherView.m
//  WisdomStar
//
//  Created by 谭飞 on 2018/11/14.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

#import "AddTeacherView.h"

@interface AddTeacherView ()

@property (weak, nonatomic) IBOutlet UILabel *nameLab;

@property (weak, nonatomic) IBOutlet UIView *contentView;

@end

@implementation AddTeacherView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.contentView.layer.cornerRadius = self.contentView.xmg_height/2;
    [self.contentView setRoundBorder:kSeparatorColor radius:self.contentView.xmg_height/2];
}


- (IBAction)addBtnClicked:(id)sender {
    if (self.addHandleCallback) {
        self.addHandleCallback();
    }
}

- (void)setName:(NSString *)name {
    self.nameLab.text = name;
}

@end
